package com.stylefeng.guns.rest.common.persistence.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 举报表
 * </p>
 *
 * @author ruiyifeng123
 * @since 2018-05-24
 */
@TableName("pf_report")
public class PfReport extends Model<PfReport> {

    private static final long serialVersionUID = 1L;

    /**
     * 投诉id
     */
    @TableId(value = "report_id", type = IdType.AUTO)
    private Long reportId;
    @TableField("user_code")
    private Long userCode;
    /**
     * 类型：1-资讯评论；
     */
    private Integer type;
    /**
     * 目标id
     */
    @TableField("target_id")
    private Long targetId;
    /**
     * 类型：1-广告骚扰；2-低俗、辱骂；3-色情；4-反动、血腥暴力；5-违法（套现、危险品等）
     */
    @TableField("report_type")
    private Integer reportType;
    /**
     * 状态：1-待处理；
     */
    private Integer status;
    @TableField("create_time")
    private Date createTime;
    /**
     * b备注
     */
    private String remark;
    /**
     * 审核人
     */
    @TableField("auditor_id")
    private Integer auditorId;
    /**
     * 审核时间
     */
    @TableField("audit_time")
    private Date auditTime;
    /**
     * 审核人名字
     */
    @TableField("audit_name")
    private String auditName;


    public Long getReportId() {
        return reportId;
    }

    public void setReportId(Long reportId) {
        this.reportId = reportId;
    }

    public Long getUserCode() {
        return userCode;
    }

    public void setUserCode(Long userCode) {
        this.userCode = userCode;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getTargetId() {
        return targetId;
    }

    public void setTargetId(Long targetId) {
        this.targetId = targetId;
    }

    public Integer getReportType() {
        return reportType;
    }

    public void setReportType(Integer reportType) {
        this.reportType = reportType;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getAuditorId() {
        return auditorId;
    }

    public void setAuditorId(Integer auditorId) {
        this.auditorId = auditorId;
    }

    public Date getAuditTime() {
        return auditTime;
    }

    public void setAuditTime(Date auditTime) {
        this.auditTime = auditTime;
    }

    public String getAuditName() {
        return auditName;
    }

    public void setAuditName(String auditName) {
        this.auditName = auditName;
    }

    @Override
    protected Serializable pkVal() {
        return this.reportId;
    }

    @Override
    public String toString() {
        return "PfReport{" +
        "reportId=" + reportId +
        ", userCode=" + userCode +
        ", type=" + type +
        ", targetId=" + targetId +
        ", reportType=" + reportType +
        ", status=" + status +
        ", createTime=" + createTime +
        ", remark=" + remark +
        ", auditorId=" + auditorId +
        ", auditTime=" + auditTime +
        ", auditName=" + auditName +
        "}";
    }
}
